package com.xbongbong.paas.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author zcp
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class DsAttrValuePojo implements Serializable {
    private static final long serialVersionUID = 3273136040805055364L;
    /**
     * attr
     */
    private String attr;
    /**
     * 值
     */
    private Object value;
    /**
     * icon
     */
    private String icon;

    private List<DsAttrValuePojo> child;

    public DsAttrValuePojo(String attr, Object value, String icon) {
        this.attr = attr;
        this.value = value;
        this.icon = icon;
    }

    public DsAttrValuePojo(String attr, Object value, String icon, List<DsAttrValuePojo> child) {
        this.attr = attr;
        this.value = value;
        this.icon = icon;
        this.child = child;
    }

    public DsAttrValuePojo() {
    }
}
